package com.dz.finance.biz.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * @author: DengHaoQi
 * @date: 2024/5/25 15:56
 * @description:
 */

@Data
public class ClientDTO {

    @ApiModelProperty("客户端id")
    @NotBlank(message = "客户端id不能为空")
    @Pattern(regexp = "^[0-9A-Za-z]{6,32}$",message = "clientId非法")
    private String clientId;
}
